package io.github.stary1993.kite.admin.service;

import com.github.yulichang.base.MPJBaseService;
import io.github.stary1993.kite.admin.entity.SysUser;
import io.github.stary1993.kite.admin.vo.UserExcelVO;
import io.github.stary1993.kite.admin.vo.UserVO;
import io.github.stary1993.kite.core.util.R;
import org.springframework.validation.BindingResult;

import java.util.List;

/**
 * @author stary1993
 */
public interface SysUserService extends MPJBaseService<SysUser> {
    UserVO detailsById(Long userId);

    UserVO detailsByUsername(String username);
    UserVO detailsByPhone(String phone);


    List<UserExcelVO> exportUser();


    R importUser(List<UserExcelVO> excelVOList, BindingResult bindingResult);



}
